package com.study;

import java.util.Scanner;

public class Demo03 {
    public static void change(int[] arr){
        System.out.println("-----" + arr);
        arr[0] *= 10;
        arr[1] *= 10;
    }

    public static void main(String[] args) {
        int[] array = {10,20};
        System.out.println(array);
        change(array);
        System.out.println(array[0]);
        System.out.println(array[1]);
    }
}
